import alova from '@/utils/alova'
// 登录
export const login = (data) => {
  return alova.Post('/sys/login', data)
}

// 短信验证码
export const loginCode = (data) => {
  return alova.Post('/login/code', data)
}

// 菜单
export const menuLists = () => {
  return alova.Get('/sys/menu/lists')
}

// 城市三级联动
export const cityCode = (data) => {
  return alova.Post('/third/citycode/list', data)
}

// 公共数据相关接口
export const dictList = (data) => {
  return alova.Post('/common/dict/list', data)
}

// 用户密码修改
export const userPwd = (data) => {
  return alova.Post('/sys/user/pwd', data)
}

// ocr识别
export const ocrRecognition = (data) => {
  return alova.Post('/cardriver/quickReg/save', data)
}
